package org.exam.system.service;


import com.github.pagehelper.PageInfo;
import org.exam.system.domain.Permission;
import org.exam.system.query.PermissionQuery;

import java.util.List;


public interface IPermissionService {


    PageInfo<Permission> queryPage(PermissionQuery permissionQuery);

    void update(Permission permission);

    void add(Permission permission);

    void delete(Long id);

    Permission get(Long id);


    List<Permission> getAll();
}

